﻿CREATE PROCEDURE [Mapping].[AddMappingGroup]
  @groupName nvarchar(50),
  @sourceSystemId int,
  @alternateKeyType nvarchar(20) = NULL,
  @description nvarchar(200) = NULL
AS
  INSERT INTO Mapping.MappingGroup(GroupName, SourceSystem, AlternateKeyType, [Description])
    VALUES(@groupName, @sourceSystemId, @alternateKeyType, @description)

RETURN @@IDENTITY
